package com.lingnan.enums;

import lombok.Getter;

@Getter
public enum ResultCodeEnum {
    SUCCESS(200, "成功"),
    FAIL(500,"失败" );
    private int code;
    private String desc;
    ResultCodeEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
